﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using System.Xml.Serialization;

using GolfSigma.Inventory.Extension;

namespace GolfSigma.Inventory.Model
{
    [XmlRoot("course")]
    public class CourseAverage
    {
        [XmlAttribute("id")]
        public UInt64 CourseId { get; set; }

        [XmlAttribute("price-currency")]
        public UInt16 PriceCurrency { get; set; }

        [XmlAttribute("price-min")]
        public float PriceMin { get; set; }

        [XmlAttribute("price-max")]
        public float PriceMax { get; set; }

        [XmlAttribute("price-avg")]
        public float PriceAverage { get; set; }

        [XmlAttribute("tee-times")]
        public int TotalTeeTime { get; set; }
    }
}
